package com.cskaoyan.service;

import com.cskaoyan.bean.MarketKeyword;
import com.cskaoyan.bean.common.CommonData;

import java.util.List;

public interface AdminKeywordService {
    CommonData query(Integer page, Integer limit, String sort, String order);


    //通过关键字keyword 模糊查询
    List<MarketKeyword> selectByKeyword(String keyword);

    //通过url 精准查询
    MarketKeyword selectByUrl(String url);

    CommonData query(Integer page, Integer limit, String sort, String order, String keyword, String url);


    //添加数据
    void insert(MarketKeyword marketKeyword);

    void update(MarketKeyword marketKeyword);

    int delete(Integer id);

}
